NOTE:
NOTE:
In[]:=
ParallelEvaluate[Needs["PostTagSystem`"]]
Out[]=
{Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null}
Older versions:
Older versions:
More
More
In[]:=
FindPostTagFinal[{0,{0,1,1,1,1,1,1,1,1,0,1,1,0,1,0}}]
Out[]=
{20858048,22}
In[]:=
FindPostTagFinal[{0,{1,0,1,0,1,0,1,0,0,1,1,0,1,0,1,1,1,1,1,1,0}}]
Out[]=
{2586944112,6}
In[]:=
getCycle[{0,Table[0,8]}]
Out[]=
{{0,{0,0,0,0,0,0,0,0}},{2,{0,0,0,0,0,0,0,0}},{1,{0,0,0,0,0,0,0,0}},{0,{0,0,0,0,0,0,0}},{2,{0,0,0,0,0,0,0}},{1,{0,0,0,0,0,0,0}},{0,{0,0,0,0,0,0}},{2,{0,0,0,0,0,0}},{1,{0,0,0,0,0,0}},{0,{0,0,0,0,0}},{2,{0,0,0,0,0}},{1,{0,0,0,0,0}},{0,{0,0,0,0}},{2,{0,0,0,0}},{1,{0,0,0,0}},{0,{0,0,0}},{2,{0,0,0}},{1,{0,0,0}},{0,{0,0}},{2,{0,0}},{1,{0,0}},{0,{0}},{2,{0}},{1,{0}},{0,{}}}
In[]:=
Length[%]
Out[]=
25
In[]:=
FindPostTagDetails2[#,FindPostTagFate[#]]&[{0,{0,1,1,1,1,1,1,1,1,0,1,1,0,1,0}}]
Out[]=
20858048
In[]:=
FindPostTagDetails[#,FindPostTagFate[#]]&[{0,{1,0,1,0,1,0,1,0,0,1,1,0,1,0,1,1,1,1,1,1,0}}]
Out[]=
2586944120
In[]:=
FindPostTagDetails2[#,FindPostTagFate[#]]&[{0,{1,0,1,0,1,0,1,0,0,1,1,0,1,0,1,1,1,1,1,1,0}}]
Out[]=
2586944112
Needs to be run again after backing off 8 steps, etc.
In[]:=
FindPostTagFate[{2,{0,0,1,1,1,1,1,1,0,1}}]
Out[]=
{{14,{2,{1,1,1,0,0,0,1,1,1,0,0,0}}},65544,16}
In[]:=
FindPostTagFate[{2,{0,0,1,1,1,1,1,1,0,1}},10]
Out[]=
{{TooBig,{0,{1,0,1,1,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,1,0,1,1,1,0,0,0,0,0,1,0,0,1,1,0,1,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1}}},16376,8192}
In[]:=
FindPostTagFate[{0,{1,0,1,0,1,0,1,0,0,1,1,0,1,0,1,1,1,1,1,1,0}}]
Out[]=
{{31,{2,{1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0,0}}},8589934592,8}
In[]:=
FindPostTagFate[{0,{0,1,1,1,1,1,1,1,1,0,1,1,0,1,0}}]
Out[]=
{{22,{0,{0,0,0,0,0,0,0}}},20858048,4080840}
In[]:=
FindPostTagFate[{0,{1,1,1,0,1,0,1,0,1,1,1,1,0,1,0}}]
Out[]=
{{28,{1,{1,0,0,0,1,1,1,0,0,0,1,1,1}}},1073741832,16}
In[]:=
GeneratePostTagSystemHistory[{0,{1,1,1,0,1,0,1,0,1,1,1,1,0,1,0}},1073741832,{1,{1,0,0,0,1,1,1,0,0,0,1,1,1}}]
Out[]=
EventCount357007584,FinalState{1,{1,0,0,0,1,1,1,0,0,0,1,1,1}}
In[]:=
FindTransientRepeat[NestList[TSPhaseStep,{1,{1,0,0,0,1,1,1,0,0,0,1,1,1}},100],3]
Out[]=
{{},{{1,{1,0,0,0,1,1,1,0,0,0,1,1,1}},{2,{0,0,0,1,1,1,0,0,0,1,1,1,0}},{1,{0,0,1,1,1,0,0,0,1,1,1,0,0}},{0,{0,1,1,1,0,0,0,1,1,1,0,0}},{2,{1,1,1,0,0,0,1,1,1,0,0,0}},{0,{1,1,0,0,0,1,1,1,0,0,0,1}}}}
In[]:=
PostTagSystem[{1,{1,0,0,0,1,1,1,0,0,0,1,1,1}}]
Out[]=
PostTagSystemEvolution
In[]:=
Table[FindPostTagFinal[{0,IntegerDigits[i,2,12]}],{i,0,100}]
Out[]=
{{16,0},{16,0},{16,0},{16,92},{16,12},{16,100},{16,0},{24,0},{16,0},{16,14},{16,0},{24,0},{16,0},{24,0},{24,92},{32,86},{16,0},{16,0},{16,0},{24,0},{16,0},{24,0},{32,86},{904,6},{16,98},{64,10},{72,10},{928,6},{24,92},{32,0},{48,6},{24,6},{16,0},{16,4},{16,18},{24,98},{16,0},{40,6},{48,10},{912,6},{16,58},{896,6},{32,6},{32,6},{72,10},{40,86},{48,0},{208,0},{16,18},{24,98},{56,10},{32,0},{24,90},{24,0},{32,0},{16,10},{24,46},{32,0},{40,0},{40,6},{912,6},{128,6},{24,10},{88,86},{16,0},{16,14},{16,0},{24,0},{16,0},{24,0},{24,92},{32,86},{16,0},{24,0},{72,10},{72,10},{24,12},{24,92},{64,10},{920,6},{16,0},{24,0},{24,0},{24,14},{24,0},{24,0},{24,0},{32,88},{24,0},{24,0},{24,0},{904,6},{32,86},{928,6},{40,0},{48,0},{16,0},{24,0},{24,14},{72,10},{24,0}}
In[]:=
ParallelTable[FindPostTagFinal[{0,IntegerDigits[i,2,12]}],{i,0,2^12-1}];
In[]:=
KeySort[Counts[Last/@%]]
Out[]=
0966,21,45,62123,10849,1230,1426,1625,2844,4027
In[]:=
KeySort[Counts[First/@%120]]
Out[]=
013,820,1697,221,2481,264,286,308,32124,3410,367,389,40105,425,442,467,4858,501,522,542,5659,583,603,621,6485,663,682,7295,744,761,80107,8863,921,941,9649,981,1001,1023,10445,10611,10812,11014,11269,11424,11627,11819,12068,12223,12425,12624,12858,13012,13213,13416,13651,13823,14011,14213,14439,14612,1488,15011,15222,1546,1569,1586,16015,1626,1649,1669,16814,1706,1727,1746,17610,1784,1804,1825,18420,1865,1886,1904,19234,1942,1961,1982,20026,2061,20826,2103,2121,2142,21624,2181,2201,2223,22421,2281,23214,2341,2361,2381,2406,2461,2482,25613,26412,2661,2701,2728,2781,2801,2821,2844,2881,2901,2921,2941,3021,3041,3061,3082,3102,3442,3461,3481,35214,3543,3566,3586,36017,3624,3644,3667,3685,3708,3725,3746,3764,3788,3804,3827,3842,3865,3886,3907,3923,3944,3962,3982,4003,4021,4081,4101,4421,4441,4581,4642,4721,5121,5603,5685,5761,5841,6002,6085,6166,6244,7363,7442,75211,76018,76821,77618,78411,7928,8006,8087,8168,82430,83244,84027,8486,85610,86413,87213,8805,8885,89623,90434,91239,92038,92836,93634,9381,94418,95211,9606,10003,10089,10168,101728,10242,1025129,10323,1033108,10403,1041100,104974,105741,10643,106520,10739,10802,10815,10897,109710,11057,11133,11211,11296,113725,114529,115317,116123,116920,117713,118522,119324,120129,120926,12178,12254,12337,12415,12494,12572,12652,12811,13453,13534,136113,13697,13771,14171,14256,143310,14414,14491,14651,14962,14972,15052,15126,152020,152837,153621,154419,15529,15933,16016,16092,16333,16411,16492,16571,16651,17051,18091,20641,20726,20809,208810,20967,210410,21201,232910,233716,234519,235313,23617,23696,23771,25683,25762,25841,25922,26004,26084,26163,26241,263210,26405,26482,26563,26882,26964,27044,27128,27201,27281,27368,27443,27929,280013,280811,28165,28246,28327,28405,28487,28565,28646,29444,29522,40642,40802,40886,40962,63933,64015,64091,245282,245365,245445,245521,2534561
In[]:=
Histogram[Log10[First/@%120],Automatic,{"Log","Count"},PlotRangeAll,FrameTrue]
Out[]=
In[]:=
With[{n=9},ParallelTable[FindPostTagFinalPlus[{0,IntegerDigits[i,2,n]}],{i,0,2^n-1}]]
In[]:=
Union[Last/@%]
Out[]=
{{0,{}},{0,{1,1,0,0}},{0,{0,1,1,1,0,0}},{0,{0,1,0,1,1,1,0,0}},{0,{1,1,0,0,1,1,0,0}},{0,{0,1,0,1,0,1,1,1,0,0}},{0,{0,1,1,1,0,0,1,1,0,0}},{0,{0,0,1,1,1,0,0,0,1,1,1}},{0,{0,1,1,1,0,0,0,1,1,1,0,0}},{0,{0,0,1,1,1,1,1,1,1,0,1,0,0}},{0,{0,1,1,1,0,0,0,1,1,1,0,0,1,1,0,0}},{0,{0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0}},{0,{0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0,1,1,0,0}}}
Find non-standard cycles....
Find non-standard cycles....
Different phase:
Searches
Searches
Small cases
Small cases
Analysis
Analysis
Use HistogramList to store results....
Reloading....
Reloading....